<div>
    <link href="../css/shoppingCartPage.css" rel="stylesheet"/>
    <div class="mainTable">
        <div class="titleDiv">购物清单</div>
        <table  class="table">
            <th class="th1">分类</th>
            <th class="th2" >名称</th>
            <th class="th2">单价（元）</th>
            <th class="th1">单位</th>
            <th class="th3">数量</th>
            <th>小计</th>
            <tr ng-repeat="itemInfo in cartList" ng-show="itemInfo.count>0">
                <td  class="td">{{itemInfo.classification}}</td>
                <td class="td">{{itemInfo.itemName}}</td>
                <td class="td">{{itemInfo.price}}</td>
                <td class="td">{{itemInfo.unit}}</td>
                <td><button class="buttonStyle buttonLess" ng-click="addButtonEvent(-1,$index)">-</button><button disabled="false" class="buttonStyle itemCount">{{itemInfo.count}}</button><button
                        ng-click="addButtonEvent(1,$index)"  class="buttonStyle buttonAdd">+</button></td>
                <td class="td subTotal">{{itemInfo.actuallyPaid+"元"}}<a ng-show="itemInfo.promotionCount>0">{{"(原价:"+itemInfo.costPrice+"元)"}}</a></td>
            </tr>
        </table>
        <p class="sumPrice">总计:<a ng-model="actuallyPaid">{{actuallyPaid}}</a>元</p>
        <button class="payMoney" ng-click="jumpPaymentPage()">付款</button>
    </div>
</div>



